<template>
  <div class="main">
    <section>
      <el-tabs v-model="activeName">
        <el-tab-pane label="商品列表" name="first">
          <goodsList />
        </el-tab-pane>
        <el-tab-pane label="库存查询" name="second">
          <inventoryList />
        </el-tab-pane>
      </el-tabs>
    </section>
  </div>
</template>

<script>
/**
 * 商品库
 */
import goodsList from './components/goodslist'
import inventoryList from './components/inventoryList'
export default {
  name: 'goodsMiddleStage-goods',
  components: {
    goodsList,
    inventoryList
  },
  data() {
    return {
      activeName: 'first'
    }
  }
}
</script>
